<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>CUTLASS: default_gemv.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="cutlass-logo-small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CUTLASS
   </div>
   <div id="projectbrief">CUDA Templates for Linear Algebra Subroutines and Solvers</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_6baf2bb612a2f0daa69af3101ede80a1.html">cutlass</a></li><li class="navelem"><a class="el" href="dir_9aa36bd9cfad59a1f88859a38871c977.html">gemm</a></li><li class="navelem"><a class="el" href="dir_c4a2560cb67fbf4e24d3d775f040b990.html">kernel</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">default_gemv.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="default__gemv_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/***************************************************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2017-2019, NVIDIA CORPORATION.  All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without modification, are permitted</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * provided that the following conditions are met:</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *     * Redistributions of source code must retain the above copyright notice, this list of</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *       conditions and the following disclaimer.</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *     * Redistributions in binary form must reproduce the above copyright notice, this list of</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *       conditions and the following disclaimer in the documentation and/or other materials</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *       provided with the distribution.</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *     * Neither the name of the NVIDIA CORPORATION nor the names of its contributors may be used</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *       to endorse or promote products derived from this software without specific prior written</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *       permission.</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND ANY EXPRESS OR</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * STRICT LIABILITY, OR TOR (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> **************************************************************************************************/</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="gemv_8h.html">cutlass/gemm/threadblock/gemv.h</a>&quot;</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="default__gemv__core_8h.html">cutlass/gemm/threadblock/default_gemv_core.h</a>&quot;</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="gemm_2threadblock_2threadblock__swizzle_8h.html">cutlass/gemm/threadblock/threadblock_swizzle.h</a>&quot;</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacecutlass.html">cutlass</a> {</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">namespace </span>gemm {</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">namespace </span>kernel {</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="keyword">template</span> &lt;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <span class="keyword">typename</span> ThreadBlockShape_,</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keyword">typename</span> ThreadShape_,</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keyword">typename</span> ElementA_,</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keyword">typename</span> LayoutA_,</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keyword">typename</span> ElementB_,</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keyword">typename</span> LayoutB_,</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keyword">typename</span> ElementCD_,</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keyword">typename</span> LayoutCD_,</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keyword">typename</span> ElementAccumulator_ = ElementCD_&gt;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html">   57</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html">DefaultGemv</a> {</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a7d48e7b7eac827293775b39f317026c4">   60</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a7d48e7b7eac827293775b39f317026c4">ThreadBlockShape</a> = ThreadBlockShape_;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a78387716256a6b9791bc8f2a5b89a5ac">   63</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a78387716256a6b9791bc8f2a5b89a5ac">ThreadShape</a> = ThreadShape_;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#adc2dfeed44c7c1662ff5b26bd6eed92c">   66</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#adc2dfeed44c7c1662ff5b26bd6eed92c">ElementA</a> = ElementA_;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a7bc6441557a4376eb9f34eebc593a6a6">   69</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a7bc6441557a4376eb9f34eebc593a6a6">LayoutA</a> = LayoutA_;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a2944b535bcbe5538da6b8906d96a129a">   72</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a2944b535bcbe5538da6b8906d96a129a">ElementB</a> = ElementB_;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#ab745507f3927cdf7c657d4869de7cdc7">   75</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#ab745507f3927cdf7c657d4869de7cdc7">LayoutB</a> = LayoutB_;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a7fa057910406f15ff42784631e349a51">   78</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a7fa057910406f15ff42784631e349a51">ElementAccumulator</a> = ElementAccumulator_;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a5a72ada5ea6586abe7e2ddd37c8706e4">   81</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a5a72ada5ea6586abe7e2ddd37c8706e4">LayoutAccumulator</a> = LayoutCD_;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a19c0ae0ab873ec3d1eb64826218dec30">   84</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a19c0ae0ab873ec3d1eb64826218dec30">ElementCD</a> = ElementCD_;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a396e94326248f8819ae3593aa70b40bb">   87</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a396e94326248f8819ae3593aa70b40bb">LayoutCD</a> = LayoutCD_;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;  <span class="comment">// Define the core components</span></div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a4a5d78877329cd922780fc31a6448ef0">Core</a> = <span class="keyword">typename</span> <a class="code" href="structcutlass_1_1gemm_1_1threadblock_1_1DefaultGemvCore.html">cutlass::gemm::threadblock::DefaultGemvCore</a>&lt;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;      <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a7d48e7b7eac827293775b39f317026c4">ThreadBlockShape</a>, <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a78387716256a6b9791bc8f2a5b89a5ac">ThreadShape</a>, <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#adc2dfeed44c7c1662ff5b26bd6eed92c">ElementA</a>, <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a7bc6441557a4376eb9f34eebc593a6a6">LayoutA</a>, <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a2944b535bcbe5538da6b8906d96a129a">ElementB</a>, <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#ab745507f3927cdf7c657d4869de7cdc7">LayoutB</a>,</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a4a5d78877329cd922780fc31a6448ef0">   92</a></span>&#160;      <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a7fa057910406f15ff42784631e349a51">ElementAccumulator</a>, <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a5a72ada5ea6586abe7e2ddd37c8706e4">LayoutAccumulator</a>&gt;;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  <span class="comment">// Define the threadblock-scoped gemv</span></div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#aca10c3eb6e499dab7766f1ffe2d4dffa">   95</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1threadblock_1_1Gemv.html">ThreadBlockGemv</a> = <a class="code" href="classcutlass_1_1gemm_1_1threadblock_1_1Gemv.html">cutlass::gemm::threadblock::Gemv&lt;Core&gt;</a>;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  <span class="comment">// Iterator for multiplicand A</span></div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a359698a3b1768f1ca5ce3032ab133f89">   98</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a359698a3b1768f1ca5ce3032ab133f89">IteratorA</a> = <span class="keyword">typename</span> <a class="code" href="classcutlass_1_1gemm_1_1threadblock_1_1Gemv.html#ab636c175e7a3b9e4628ef4766da3938d">ThreadBlockGemv::IteratorA</a>;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;  <span class="comment">// Iterator for multiplicand B</span></div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a0cfef44420e5daa52b9c15bdbab2a1c5">  101</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a0cfef44420e5daa52b9c15bdbab2a1c5">IteratorB</a> = <span class="keyword">typename</span> <a class="code" href="classcutlass_1_1gemm_1_1threadblock_1_1Gemv.html#aa9c85beae49e786016b644868e47fce9">ThreadBlockGemv::IteratorB</a>;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#aca6a3e28031cffaf13dfa5316c8f0f0b">IteratorPolicyCD</a> = <span class="keyword">typename</span> <a class="code" href="structcutlass_1_1platform_1_1conditional.html">platform::conditional</a>&lt;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <a class="code" href="structcutlass_1_1platform_1_1is__same.html">platform::is_same&lt;LayoutCD, layout::RowMajor&gt;::value</a>,</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        <a class="code" href="structcutlass_1_1transform_1_1PitchLinearTilePolicyStripminedThreadContiguous.html">cutlass::transform::PitchLinearTilePolicyStripminedThreadContiguous</a>&lt;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;          <a class="code" href="structcutlass_1_1layout_1_1PitchLinearShape.html">layout::PitchLinearShape&lt;ThreadBlockShape::kN, ThreadBlockShape::kM&gt;</a>, Core::kThreadsPerN, ThreadShape::kN&gt;,</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        <a class="code" href="structcutlass_1_1transform_1_1PitchLinearTilePolicyStripminedThreadStrided.html">cutlass::transform::PitchLinearTilePolicyStripminedThreadStrided</a>&lt;</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#aca6a3e28031cffaf13dfa5316c8f0f0b">  109</a></span>&#160;          <a class="code" href="structcutlass_1_1layout_1_1PitchLinearShape.html">layout::PitchLinearShape&lt;ThreadBlockShape::kM, ThreadBlockShape::kN&gt;</a>, Core::kThreadsPerN, ThreadShape::kM&gt;&gt;::type;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1transform_1_1threadblock_1_1PredicatedTileIterator.html">IteratorCD</a> = <a class="code" href="classcutlass_1_1transform_1_1threadblock_1_1PredicatedTileIterator.html">cutlass::transform::threadblock::PredicatedTileIterator</a>&lt;</div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#aa3c18b202147a4896fc51122a0cb17b3">  113</a></span>&#160;   <a class="code" href="structcutlass_1_1MatrixShape.html">cutlass::MatrixShape&lt;ThreadBlockShape::kM, ThreadBlockShape::kN&gt;</a>, <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a19c0ae0ab873ec3d1eb64826218dec30">ElementCD</a>, <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a396e94326248f8819ae3593aa70b40bb">LayoutCD</a>, 0, <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#aca6a3e28031cffaf13dfa5316c8f0f0b">IteratorPolicyCD</a>&gt;;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a413056056e1b3a4e60cbca72f47ac9d5">  116</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a413056056e1b3a4e60cbca72f47ac9d5">FragmentCD</a> = <span class="keyword">typename</span> IteratorCD::Fragment;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;  <span class="comment">// Define the threadblock swizzle</span></div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#ab2514e8b50f431a4cf216be763e4be50">  119</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1threadblock_1_1GemvBatchedStridedThreadblockDefaultSwizzle.html">ThreadBlockSwizzle</a> = <a class="code" href="structcutlass_1_1gemm_1_1threadblock_1_1GemvBatchedStridedThreadblockDefaultSwizzle.html">cutlass::gemm::threadblock::GemvBatchedStridedThreadblockDefaultSwizzle</a>;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;};</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;}  <span class="comment">// namespace kernel</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;}  <span class="comment">// namespace gemm</span></div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;}  <span class="comment">// namespace cutlass</span></div><div class="ttc" id="structcutlass_1_1MatrixShape_html"><div class="ttname"><a href="structcutlass_1_1MatrixShape.html">cutlass::MatrixShape</a></div><div class="ttdoc">Describes the size of a matrix tile. </div><div class="ttdef"><b>Definition:</b> matrix_shape.h:42</div></div>
<div class="ttc" id="namespacecutlass_html"><div class="ttname"><a href="namespacecutlass.html">cutlass</a></div><div class="ttdef"><b>Definition:</b> aligned_buffer.h:35</div></div>
<div class="ttc" id="structcutlass_1_1platform_1_1is__same_html"><div class="ttname"><a href="structcutlass_1_1platform_1_1is__same.html">cutlass::platform::is_same</a></div><div class="ttdoc">std::is_same (false specialization) </div><div class="ttdef"><b>Definition:</b> platform.h:394</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_a7fa057910406f15ff42784631e349a51"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a7fa057910406f15ff42784631e349a51">cutlass::gemm::kernel::DefaultGemv::ElementAccumulator</a></div><div class="ttdeci">ElementAccumulator_ ElementAccumulator</div><div class="ttdoc">Data type of accumulators. </div><div class="ttdef"><b>Definition:</b> default_gemv.h:78</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_a0cfef44420e5daa52b9c15bdbab2a1c5"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a0cfef44420e5daa52b9c15bdbab2a1c5">cutlass::gemm::kernel::DefaultGemv::IteratorB</a></div><div class="ttdeci">typename ThreadBlockGemv::IteratorB IteratorB</div><div class="ttdef"><b>Definition:</b> default_gemv.h:101</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_a78387716256a6b9791bc8f2a5b89a5ac"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a78387716256a6b9791bc8f2a5b89a5ac">cutlass::gemm::kernel::DefaultGemv::ThreadShape</a></div><div class="ttdeci">ThreadShape_ ThreadShape</div><div class="ttdoc">Shape of warp-level matrix operation (concept: GemmShape) </div><div class="ttdef"><b>Definition:</b> default_gemv.h:63</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_a396e94326248f8819ae3593aa70b40bb"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a396e94326248f8819ae3593aa70b40bb">cutlass::gemm::kernel::DefaultGemv::LayoutCD</a></div><div class="ttdeci">LayoutCD_ LayoutCD</div><div class="ttdoc">Layout of input/output matrix C/D. </div><div class="ttdef"><b>Definition:</b> default_gemv.h:87</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_a5a72ada5ea6586abe7e2ddd37c8706e4"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a5a72ada5ea6586abe7e2ddd37c8706e4">cutlass::gemm::kernel::DefaultGemv::LayoutAccumulator</a></div><div class="ttdeci">LayoutCD_ LayoutAccumulator</div><div class="ttdoc">Data type of accumulators (same as C/D) </div><div class="ttdef"><b>Definition:</b> default_gemv.h:81</div></div>
<div class="ttc" id="structcutlass_1_1layout_1_1PitchLinearShape_html"><div class="ttname"><a href="structcutlass_1_1layout_1_1PitchLinearShape.html">cutlass::layout::PitchLinearShape</a></div><div class="ttdoc">Template defining a shape used by pitch-linear operators. </div><div class="ttdef"><b>Definition:</b> pitch_linear.h:43</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_adc2dfeed44c7c1662ff5b26bd6eed92c"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#adc2dfeed44c7c1662ff5b26bd6eed92c">cutlass::gemm::kernel::DefaultGemv::ElementA</a></div><div class="ttdeci">ElementA_ ElementA</div><div class="ttdoc">Data type of multiplicand A. </div><div class="ttdef"><b>Definition:</b> default_gemv.h:66</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_a413056056e1b3a4e60cbca72f47ac9d5"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a413056056e1b3a4e60cbca72f47ac9d5">cutlass::gemm::kernel::DefaultGemv::FragmentCD</a></div><div class="ttdeci">typename IteratorCD::Fragment FragmentCD</div><div class="ttdoc">Fragment storage for C/D. </div><div class="ttdef"><b>Definition:</b> default_gemv.h:116</div></div>
<div class="ttc" id="classcutlass_1_1gemm_1_1threadblock_1_1Gemv_html"><div class="ttname"><a href="classcutlass_1_1gemm_1_1threadblock_1_1Gemv.html">cutlass::gemm::threadblock::Gemv</a></div><div class="ttdoc">Structure to compute the matrix-vector product using SIMT math instructions. </div><div class="ttdef"><b>Definition:</b> gemv.h:50</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_a7bc6441557a4376eb9f34eebc593a6a6"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a7bc6441557a4376eb9f34eebc593a6a6">cutlass::gemm::kernel::DefaultGemv::LayoutA</a></div><div class="ttdeci">LayoutA_ LayoutA</div><div class="ttdoc">Layout of multiplicand A. </div><div class="ttdef"><b>Definition:</b> default_gemv.h:69</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1threadblock_1_1DefaultGemvCore_html"><div class="ttname"><a href="structcutlass_1_1gemm_1_1threadblock_1_1DefaultGemvCore.html">cutlass::gemm::threadblock::DefaultGemvCore</a></div><div class="ttdef"><b>Definition:</b> default_gemv_core.h:68</div></div>
<div class="ttc" id="structcutlass_1_1platform_1_1conditional_html"><div class="ttname"><a href="structcutlass_1_1platform_1_1conditional.html">cutlass::platform::conditional</a></div><div class="ttdoc">std::conditional (true specialization) </div><div class="ttdef"><b>Definition:</b> platform.h:325</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html">cutlass::gemm::kernel::DefaultGemv</a></div><div class="ttdef"><b>Definition:</b> default_gemv.h:57</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_aca6a3e28031cffaf13dfa5316c8f0f0b"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#aca6a3e28031cffaf13dfa5316c8f0f0b">cutlass::gemm::kernel::DefaultGemv::IteratorPolicyCD</a></div><div class="ttdeci">typename platform::conditional&lt; platform::is_same&lt; LayoutCD, layout::RowMajor &gt;::value, cutlass::transform::PitchLinearTilePolicyStripminedThreadContiguous&lt; layout::PitchLinearShape&lt; ThreadBlockShape::kN, ThreadBlockShape::kM &gt;, Core::kThreadsPerN, ThreadShape::kN &gt;, cutlass::transform::PitchLinearTilePolicyStripminedThreadStrided&lt; layout::PitchLinearShape&lt; ThreadBlockShape::kM, ThreadBlockShape::kN &gt;, Core::kThreadsPerN, ThreadShape::kM &gt;&gt;::type IteratorPolicyCD</div><div class="ttdoc">Policy for the iterator that reads/writes C/D. </div><div class="ttdef"><b>Definition:</b> default_gemv.h:109</div></div>
<div class="ttc" id="classcutlass_1_1gemm_1_1threadblock_1_1Gemv_html_ab636c175e7a3b9e4628ef4766da3938d"><div class="ttname"><a href="classcutlass_1_1gemm_1_1threadblock_1_1Gemv.html#ab636c175e7a3b9e4628ef4766da3938d">cutlass::gemm::threadblock::Gemv::IteratorA</a></div><div class="ttdeci">typename Core_::IteratorA IteratorA</div><div class="ttdoc">Iterates over A in global memory. </div><div class="ttdef"><b>Definition:</b> gemv.h:58</div></div>
<div class="ttc" id="classcutlass_1_1transform_1_1threadblock_1_1PredicatedTileIterator_html"><div class="ttname"><a href="classcutlass_1_1transform_1_1threadblock_1_1PredicatedTileIterator.html">cutlass::transform::threadblock::PredicatedTileIterator</a></div><div class="ttdef"><b>Definition:</b> transform/threadblock/predicated_tile_iterator.h:133</div></div>
<div class="ttc" id="default__gemv__core_8h_html"><div class="ttname"><a href="default__gemv__core_8h.html">default_gemv_core.h</a></div><div class="ttdoc">Defines basic properties needed by CTA-level batched GEMV assuming expectations about data layout of ...</div></div>
<div class="ttc" id="classcutlass_1_1gemm_1_1threadblock_1_1Gemv_html_aa9c85beae49e786016b644868e47fce9"><div class="ttname"><a href="classcutlass_1_1gemm_1_1threadblock_1_1Gemv.html#aa9c85beae49e786016b644868e47fce9">cutlass::gemm::threadblock::Gemv::IteratorB</a></div><div class="ttdeci">typename Core_::IteratorB IteratorB</div><div class="ttdoc">Iterates over B in global memory. </div><div class="ttdef"><b>Definition:</b> gemv.h:61</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1threadblock_1_1GemvBatchedStridedThreadblockDefaultSwizzle_html"><div class="ttname"><a href="structcutlass_1_1gemm_1_1threadblock_1_1GemvBatchedStridedThreadblockDefaultSwizzle.html">cutlass::gemm::threadblock::GemvBatchedStridedThreadblockDefaultSwizzle</a></div><div class="ttdoc">Threadblock swizzling function for batched GEMVs. </div><div class="ttdef"><b>Definition:</b> gemm/threadblock/threadblock_swizzle.h:296</div></div>
<div class="ttc" id="gemv_8h_html"><div class="ttname"><a href="gemv_8h.html">gemv.h</a></div><div class="ttdoc">Template for a threadblock-scoped GEMV kernel. </div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_a359698a3b1768f1ca5ce3032ab133f89"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a359698a3b1768f1ca5ce3032ab133f89">cutlass::gemm::kernel::DefaultGemv::IteratorA</a></div><div class="ttdeci">typename ThreadBlockGemv::IteratorA IteratorA</div><div class="ttdef"><b>Definition:</b> default_gemv.h:98</div></div>
<div class="ttc" id="gemm_2threadblock_2threadblock__swizzle_8h_html"><div class="ttname"><a href="gemm_2threadblock_2threadblock__swizzle_8h.html">threadblock_swizzle.h</a></div><div class="ttdoc">Implements several possible threadblock-swizzling functions mapping blockIdx to GEMM problems...</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_a4a5d78877329cd922780fc31a6448ef0"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a4a5d78877329cd922780fc31a6448ef0">cutlass::gemm::kernel::DefaultGemv::Core</a></div><div class="ttdeci">typename cutlass::gemm::threadblock::DefaultGemvCore&lt; ThreadBlockShape, ThreadShape, ElementA, LayoutA, ElementB, LayoutB, ElementAccumulator, LayoutAccumulator &gt; Core</div><div class="ttdef"><b>Definition:</b> default_gemv.h:92</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_a2944b535bcbe5538da6b8906d96a129a"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a2944b535bcbe5538da6b8906d96a129a">cutlass::gemm::kernel::DefaultGemv::ElementB</a></div><div class="ttdeci">ElementB_ ElementB</div><div class="ttdoc">Data type of multiplicand B. </div><div class="ttdef"><b>Definition:</b> default_gemv.h:72</div></div>
<div class="ttc" id="structcutlass_1_1transform_1_1PitchLinearTilePolicyStripminedThreadStrided_html"><div class="ttname"><a href="structcutlass_1_1transform_1_1PitchLinearTilePolicyStripminedThreadStrided.html">cutlass::transform::PitchLinearTilePolicyStripminedThreadStrided</a></div><div class="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:168</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_ab745507f3927cdf7c657d4869de7cdc7"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#ab745507f3927cdf7c657d4869de7cdc7">cutlass::gemm::kernel::DefaultGemv::LayoutB</a></div><div class="ttdeci">LayoutB_ LayoutB</div><div class="ttdoc">Layout of multiplicand B. </div><div class="ttdef"><b>Definition:</b> default_gemv.h:75</div></div>
<div class="ttc" id="structcutlass_1_1transform_1_1PitchLinearTilePolicyStripminedThreadContiguous_html"><div class="ttname"><a href="structcutlass_1_1transform_1_1PitchLinearTilePolicyStripminedThreadContiguous.html">cutlass::transform::PitchLinearTilePolicyStripminedThreadContiguous</a></div><div class="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:140</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_a7d48e7b7eac827293775b39f317026c4"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a7d48e7b7eac827293775b39f317026c4">cutlass::gemm::kernel::DefaultGemv::ThreadBlockShape</a></div><div class="ttdeci">ThreadBlockShape_ ThreadBlockShape</div><div class="ttdoc">Shape of Threadblock-level matrix operation (concept: GemmShape) </div><div class="ttdef"><b>Definition:</b> default_gemv.h:60</div></div>
<div class="ttc" id="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv_html_a19c0ae0ab873ec3d1eb64826218dec30"><div class="ttname"><a href="structcutlass_1_1gemm_1_1kernel_1_1DefaultGemv.html#a19c0ae0ab873ec3d1eb64826218dec30">cutlass::gemm::kernel::DefaultGemv::ElementCD</a></div><div class="ttdeci">ElementCD_ ElementCD</div><div class="ttdoc">Data type of input/output matrix C/D. </div><div class="ttdef"><b>Definition:</b> default_gemv.h:84</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
